package com.mm.service;

import com.mm.api.HelloApi;
import com.mm.config.FeignConfiguration;
import org.springframework.cloud.netflix.feign.FeignClient;
import org.springframework.web.bind.annotation.GetMapping;

@FeignClient(name = "MMSPRINGBOOT", configuration = FeignConfiguration.class)
public interface HelloFeign extends HelloApi{//公用的通过继承隐式声明了
    //非公用
    @GetMapping("/hello")
    String hello();
}
